Skip to content

Conversation

@Rel1cx
Copy link
Owner

@Rel1cx Rel1cx commented Jun 27, 2025

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Docs
  • Test
  • New Binding issue #___
  • Code style update
  • Refactor
  • Build-related changes
  • Other, please describe:

Does this PR introduce a breaking change?

  • Yes, and the changes were approved in issue #___
  • No

Checklist

  • When resolving issues, they are referenced in the PR's title (e.g fix: remove a typo, closes #___, #___)
  • I have added a convincing reason for adding this feature, if necessary

Other information

@vercel
Copy link

vercel bot commented Jun 27, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
eslint-react ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 27, 2025 7:47am

@socket-security
Copy link

@Rel1cx Rel1cx requested a review from Copilot June 27, 2025 07:49
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR bumps the version to 2.0.0-beta while refactoring build configurations and updating dependencies across multiple packages. Key changes include:

  • Updating tsup configurations to use ESM only and targeting Node 20 instead of Node 18.
  • Bumping package.json versions and dependency versions (e.g. @typescript-eslint/* packages) consistently.
  • Migrating internal type references (e.g. from "./ast-node" to "./ast-node-types") and deprecating legacy rule files.

Reviewed Changes

Copilot reviewed 223 out of 257 changed files in this pull request and generated no comments.

File Description
packages/utilities/var/tsup.config.ts Build config updated to ESM only and Node20 target.
packages/shared/package.json Version bumped and Node engine updated to >=20.19.0.
packages/utilities/ast/src/ast-node-format.ts Renamed function "toDelimiterCaseType" to "toDelimiterFormat" for clarity.
packages/plugins/eslint-plugin-react-x (various files) Refactored rule implementations and updated deprecation/replacement info.
Comments suppressed due to low confidence (2)

packages/utilities/var/tsup.config.ts:8

  • Removing CommonJS output in favor of ESM-only distribution may impact consumers relying on CommonJS; verify that downstream applications are compatible with ESM.
  format: ["esm"],

packages/utilities/ast/src/ast-node-format.ts:17

  • Ensure that the renaming from 'toDelimiterCaseType' to 'toDelimiterFormat' is reflected in all references across the codebase to prevent potential reference errors.
export function toDelimiterFormat(node: TSESTree.Node, delimiter = " ") {

@Rel1cx Rel1cx merged commit 9738161 into main Jun 27, 2025
11 checks passed
@Rel1cx Rel1cx deleted the 2.0.0-next branch June 27, 2025 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants